from sqlalchemy import Column, Integer, String, CHAR, DECIMAL
from sqlalchemy.dialects.mysql import LONGTEXT
from datetime import datetime
from app.models.base import db, Base


class writer_orders(Base):
    id = Column(Integer, primary_key=True, autoincrement=True)
    order_number = Column(String(30), nullable=False, unique=True)
    num = Column(Integer, default=0)
